/**
 * Copyright 2011 Enjoy Change, Inc. All rights reserved.
 * Use is subject to license terms.
 */
package com.enjoychange.enjoy.domain;

/**
 * @author Administrator
 * @date May 31, 2011
 */
public class Account {
	private Integer id;
	/**
	 * 邮箱地址，同时也是用户名
	 */
	private String email;
	private String password;
	private String firstname;

	private String lastname;

	public String getFirstname() {
		return firstname;
	}

	public void setFirstname(String firstname) {
		this.firstname = firstname;
	}

	public String getLastname() {
		return lastname;
	}

	public void setLastname(String lastname) {
		this.lastname = lastname;
	}


	public Integer getId() {
		return id;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	public boolean isNew(){
		return this.id==null;
	}

	public void setId(Integer id) {
		this.id = id;
	}

}
